<title>APP下载</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<script type="text/javascript" src="#(assets)/js/jquery-2.2.4.min.js"></script>
<script type="text/javascript" src="#(assets)/js/jquery.tmpl.min.js"></script>
<script type="text/javascript" src="#(assets)/js/elink.js"></script>
<script type="text/javascript" src="#(assets)/js/layer/layer.js"></script>
<style> 
	body{font-family:"Microsoft YaHei",Arial,Helvetica,sans-serif,"宋体";}
	*{margin:0;padding:0;}
	li{list-style-type:none;}
	select,input{-webkit-appearance:none;border:0px;
		-webkit-tap-highlight-color: rgba(0, 0, 0, 0);   
	} 

	img{max-width: 100%; height: auto;}
	.test{height: 600px; max-width: 600px; font-size: 40px;}
</style>
<body  bgcolor="#fe4d67" style="margin:0px;">
	<img style="width:100%;" src="#(path)/assets/app/back1.jpg"> 
	<div align="center" style="width:100%;height:40px;">
		<img id="androidapp" style="width:130px;" src="#(path)/assets/app/androidapp.png">
		<img id="iphoneapp" style="width:130px;" src="#(path)/assets/app/iphoneapp.png">
	</div> 
	<img style="width:100%;" src="#(path)/assets/app/back2.jpg">
	<img hidden src="#(assets)/images/mobile/live_weixin.png" />
</body>
<script>
	$("#iphoneapp").click(function(){
		window.location.href="https://itunes.apple.com/cn/app/%E6%97%BA%E8%BF%9B%E8%B4%A2/id1287010132?mt=8";
	});
	$("#androidapp").click(function(){ 
		$("#weixinTip").show();
		function is_weixin() {
			var ua = navigator.userAgent.toLowerCase();
			if (ua.match(/MicroMessenger/i) == "micromessenger") {
				return true;
			} else {
				return false;
			}
		}
		var isWeixin = is_weixin();
		var winHeight = typeof window.innerHeight != 'undefined' ? window.innerHeight : document.documentElement.clientHeight; 
		var weixinTip = $('<div style="z-index:2000" id="weixinTip"><p><img src="#(assets)/images/mobile/live_weixin.png" /></p></div>');
		
		if(isWeixin){
			$("body").append(weixinTip);
		}
		$("#weixinTip").css({
			"position":"fixed",
			"left":"0",
			"top":"0",
			"height":winHeight,
			"width":"100%",
			"z-index":"1000",
			"background-color":"rgba(0,0,0,0.8)",
			"filter":"alpha(opacity=80)",
		});
		$("#weixinTip p").css({
			"text-align":"center",
			"margin-top":"10%",
			"padding-left":"5%",
			"padding-right":"5%"
		});
		window.location.href="#(path)/attachment/download/wjc_version.apk";
		$("#weixinTip").click(function(){
			$("#weixinTip").hide();
		});
	});
</script>
